﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GoogleSiteLink
{
    public partial class SiteLinks : UserControl
    {
        public SiteLinks()
        {
            InitializeComponent();
        }
        public event Action<SiteLinks> SiteLinkRemoved;
        private void lbRemove_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (SiteLinkRemoved != null)
            {
                SiteLinkRemoved(this);
            }
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            label2.Text = textBox1.Text.Length + "/35";            
        }
    }
}
